package com.fh.mapper;

import com.fh.model.Banner;
import com.fh.model.Page;
import com.fh.util.PageData;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @author liyuxuan
 * @Description
 * @Email liyuxuan@shanlinjinrong.com
 * Created on 2017/4/13 上午9:53
 * Copyright (c) 2017 All Rights Reserved.
 */
public interface BannerMapper extends Mapper<Banner>{

     List<PageData> bannerlistPage(Page page);

    PageData findById(PageData pd);

    void updateBanner(PageData pd);

    void add(Map reqMap);

    void deleteById(int id);
}
